<!-- Main content -->
<section class="content container-fluid" ng-init="loadCustomer()">
    <form ng-class="{'submitted': submitted}" ng-submit="saveCustomer(activedCustomer)">

        <actions preview-url="activedCustomer.detailsUrl" back-url="'/portal/customer/list'"></actions>

        <div class="row">
            <section class="col-lg-9">
                <div class="row">
                    <div class="col-lg-12">
                        <customer-main customer="activedCustomer"></customer-main>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <customer-orders customer="activedCustomer" ondelete="loadCustomer(activedCustomer.id)"></customer-orders>
                    </div>
                </div>
            </section>
            <section class="col-lg-3" style="padding-left:0">
                <custom-image header="'Image'" type="'Customers'" folder="activedCustomer.avatar" src-url="activedCustomer.avatar" src="activedCustomer.avatar" auto="'true'"></custom-image>

            </section>
        </div>


    </form>
</section>
<!-- /.content -->
